package com.qbccn.blog.dto;

/**
 * @author linke
 * @date 2019-12-24 下午 22:08
 * @description
 */
public class ResponseCode {
    /**
     * 密码错误
     */
    public static final int PASSWORD_ERROR = 1002;

    /**
     * 用户不存在
     */
    public static final int USER_NOT_EXIST = 1004;

    /**
     * 请求成功
     */
    public static final int OK = 2000;

    /**
     * 请求失败
     */
    public static final int FAIL = 2002;

    /**
     * 熔断请求
     */
    public static final int BREAKING = 2004;

    /**
     * 权限没有权限访问
     */
    public static final int NO_AUTHORITY=4003;

    /**
     * API不存在
     */
    public static final int API_NOT_EXIST = 4004;

    /**
     * 无效的令牌、凭据
     */
    public static final int INVALID_TOKEN=4005;


}
